PhpOffice\PhpSpreadsheet\Shared\Trend\BestFit A

Total Complexity 53
Dependencies 0
Dependents 1
Total lines 497
Lines of code 186
Logical lines of code 105
Comment lines 192
Methods 25
Properties 22

Methods 25

Method Rating Maintainability Complexity Lines of code
calculateGoodnessOfFit()
A
43 11 48
leastSquareFit()
S
52 4 23
__construct()
S
61 3 12
getGoodnessOfFitPercent()
S
70 2 6
getCorrelation()
S
71 2 6
getCovariance()
S
71 2 6
getF()
S
71 2 6
getDFResiduals()
S
71 2 6
getSSResiduals()
S
71 2 6
getSSRegression()
S
71 2 6
getStdevOfResiduals()
S
71 2 6
getGoodnessOfFit()
S
71 2 6
getIntersectSE()
S
71 2 6
getIntersect()
S
71 2 6
getSlopeSE()
S
71 2 6
getSlope()
S
71 2 6
getBestFitType()
S
82 1 3
getEquation()
S
100 1 0
getXValues()
S
82 1 3
getYBestFitValues()
S
82 1 3
scrutinizerLooseCompare()
S
80 1 3
getValueOfXForY()
S
100 1 0
sumSquares()
S
66 1 10
getValueOfYForX()
S
100 1 0
getError()
S
82 1 3